package com.DHH.Mapper.Base;

import com.DHH.Dto.FilterQuery;
import com.DHH.Entity.Base.BaseThirdpartyLogin;
import com.DHH.Entity.Base.BaseUser;

import org.springframework.stereotype.Repository;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;

@Repository
@MapperScan
public interface BaseUserMapper extends Mapper<BaseUser>  {

            /*搜索*/
    public List<BaseUser> searchByBaseUser(BaseUser r);
             /*筛选*/
    public List<BaseUser> screenByBaseUser(BaseUser r);
             /*过滤*/
    public List<BaseUser> filterByBaseUser(FilterQuery r);

    public BaseUser selectBaseUserById(BaseUser r);

    public BaseUser getUserInfoByIdRelation(Integer id);

    public BaseUser  getUserInfoByOpenId(String r);
}
